package com.zziq.mianshi.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zziq.mianshi.model.entity.Question;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

/**
* @author Mr·张
* @description 针对表【question(题目)】的数据库操作Mapper
* @createDate 2024-12-06 14:34:22
* @Entity generator.domain.Question
*/
public interface QuestionMapper extends BaseMapper<Question> {

    /**
     * 查询最近更新的题目列表（包括已删除的数据）
     * @param minUpTime
     * @return
     */
    @Select("select * from question where updateTime >= #{minUpTime}")
    List<Question> listQuestionWithDelete(Date minUpTime);
}




